<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta content="width=device-width,initial-scale=1.0, user-scalable=no" name="viewport"/>
    <meta content="yes" name=" apple-mobile-web-app-capable"/>
    <meta content="no" name="apple-touch-fullscreen"/>
    <meta content="black" name=" apple-mobile-web-app-status-bar-style"/>
    <meta content="telephone=no" name="format-detection"/>
    <title>首页</title>
    <link href="css/reset.css" rel="stylesheet" type="text/css"/>
    <link href="css/style.css" rel="stylesheet" type="text/css"/>
    <link href="font/iconfont.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" href="css/swiper.min.css">
    <link rel="stylesheet" href="css/animate.min.css">
    <script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>
    <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=3rzMAAsQIWZr1dXAdq7Hda9GHAkwSvUj"></script>
</head>
<body>
<!--头部菜单-->
<header class="headerBox pd-24">
    <!--侧边菜单-->
    <div class="menu">
        <i class="iconfont icon-tubiao-"></i>
    </div>
    <div class="aside-bar" id="menu">
        <ul>
            <li class="on">
                <a href="index.html"><i class="iconfont icon-shouye"></i>医院首页</a>
            </li>
            <li>
                <a href="医院文化.html"><i class="iconfont icon-wenhua"></i>医院文化</a>
            </li>
            <li>
                <a href="三务公开.html"><i class="iconfont icon-dangwugongkai"></i>三务公开</a>
            </li>
            <li>
                <a href="科研教学.html"><i class="iconfont icon-xueyuan"></i>科研教学</a>
            </li>
            <li>
                <a href="教育健康.html"><i class="iconfont icon-jiankangguanli"></i>健康教育</a>
            </li>
            <li>
                <a href="新闻动态.html"><i class="iconfont icon-xinwen"></i>新闻动态</a>
            </li>
            <li>
                <a href="科室专家.html"><i class="iconfont icon-zhuanjia"></i>科室专家</a>
            </li>
            <li>
                <a href="关于我们.html"><i class="iconfont icon-guanyu"></i>关于我们</a>
            </li>
            <li>
                <a href="人才招聘.html"><i class="iconfont icon-zhaopinrencai"></i>人才招聘</a>
            </li>
        </ul>
    </div>
    <div class="meng"></div>
</header>
<div class="swiper-container" id="swiper">
    <div class="swiper-wrapper">
        <!-------------首页----------------->
        <section class="swiper-slide swiper-slide1">
            <ul class="indexBox clearfix">
                <li class="ani resize" swiper-animate-effect="rotateInDownLeft" swiper-animate-duration="1s"
                    swiper-animate-delay="0s">
                    <div>
                        <i class="iconfont icon-jiuzhenliucheng"></i>
                        <p>就诊流程</p>
                    </div>
                </li>
                <li class="ani resize" swiper-animate-effect="rotateInDownRight" swiper-animate-duration="1s"
                    swiper-animate-delay="0s">
                    <div>
                        <i class="iconfont icon-hushichakan"></i>
                        <p>科室分布</p>
                    </div>
                </li>
                <li class="ani resize" swiper-animate-effect="zoomIn" swiper-animate-duration="1s"
                    swiper-animate-delay="0s">
                    <div>
                        <i class="iconfont icon-yiyuan"></i>
                        <p>医院概况</p>
                    </div>
                </li>
                <li class="ani resize" swiper-animate-effect="rotateInDownLeft" swiper-animate-duration="1s"
                    swiper-animate-delay="0s">
                    <div>
                        <i class="iconfont icon-jiaotong"></i>
                        <p>交通指南</p>
                    </div>
                </li>
                <li class="ani resize" swiper-animate-effect="rotateInDownRight" swiper-animate-duration="1s"
                    swiper-animate-delay="0s">
                    <div>
                        <i class="iconfont icon-chongyinkafei"></i>
                        <p>交通指南</p>
                    </div>
                </li>
            </ul>
        </section>
        <!---------------招聘信息-------------->
        <section class="swiper-slide swiper-slide2">
            <div class="ani resize w-640 recruitBox" swiper-animate-effect="zoomIn" swiper-animate-duration="1s"
                 swiper-animate-delay="0s">
                <img src="img/joinus2.png" alt=""/>
                <div class="pd-24">
                    <p>
                        医院根据实际工作发展需要，2017年Q3M9公开招聘医学影像科岗位,欢迎认同香港大学深圳医院办院理念的优秀人才加盟，医院将为应聘者提供富有挑战性的工作、合理及具有吸引力的薪酬，提供良好的事业发展平台及赴香港及海外高端专业培训和专业发展的机会。</p>
                    <p class="hidden">招聘岗位：主治医师、护士、主治医师、护士、主治医师、护士、主治医师、护士。</p>
                    <p class="hidden">招聘对象：人才招聘工作面向全社会，凡符合本公告及应聘职位所要求条件的人员均可报名应聘。</p>
                    <p class="hidden">招聘条件应聘者须具备下列基本条件：1.遵纪守法，品行端正；2.具有履行职位职责的身体条件； 3.符合本公告及《招聘职位表》所规定的资格条件。</p>
                    <p>报名方式：本次报考采取网络在线报名方式，有关招聘人员岗位情况及报名,请登陆香港大学深圳医院人才招聘网站（http://zhaopin.hku-szh.org）注册帐号、登录、报名。</p>
                </div>
            </div>
        </section>
        <!----------------slide3-------------->
        <section class="swiper-slide swiper-slide3">
            <div class="ani resize w-640" swiper-animate-effect="zoomIn" swiper-animate-duration="1s"
                 swiper-animate-delay="0s">
                <!--通知公告-->
                <div class="noticeBox clearfix">
                    <div class="noticeTitle fl">
                        <h4>通知公告</h4>
                        <p>Notice</p>
                        <hr/>
                    </div>
                    <div class="swiper-container fl" id="noticeText">
                        <ul class="slide-notice swiper-wrapper">
                            <li class="swiper-slide">
                                <h3>
                                    <a href="#" class="clearfix">
                                        <p class="fl">关于配合全省医疗改革方案实施的公告</p>
                                        <p class="time fr">2017-04-01</p>
                                    </a>
                                </h3>
                                <h3>
                                    <a href="#" class="clearfix">
                                        <p class="fl">关于配合全省医疗改革方案实施的公告</p>
                                        <p class="time fr">2017-04-01</p>
                                    </a>
                                </h3>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="ani resize" swiper-animate-effect="fadeInUp" swiper-animate-duration="1s"
                     swiper-animate-delay="0.5s">
                    <!--视频-->
                    <div class="videoBox">
                        <div class="video" onclick="playPause()">
                            <img class="videoPoster" src="img/videoBg.jpg" alt=""/>
                            <video id="video" src="img/movie.ogg" width="100%" height="100%"></video>
                            <div class="videoBtn"><i class="iconfont icon-bofang"></i></div>
                        </div>
                        <div class="videoText">
                            <h4>2016-2017年度广东省直属机关青年机关</h4>
                            <p>
                                2016-2017年度广东省直属机关青年文明号评选及复核工作于今年10月启动，经过现场考核、查阅台账及汇报答辩，超声诊断科成功通过省卫生计生系统评审，推荐参加查阅台账及汇报答辩，超声诊断科成功通过省卫生计生系统评审，推荐参加超声诊断科成功通过省卫生计生系统评审，推荐参加查阅台账...</p>
                        </div>
                    </div>
                    <!--新闻-->
                    <ul class="newBox clearfix">
                        <li>
                            <img src="img/slideBg.jpg" alt=""/>
                            <div class="slideText">
                                <div class="time"><i class="iconfont icon-shijian"></i>2017-04-01 13:20</div>
                                <h4 class="hidden">超声诊断科青年文明号在2016-2017</h4>
                                <p>2016-2017年度广东省直属机关青年文明号评选及复核工作于今年10月启动，经过现场考核、查阅台账及汇报答辩，超声诊断科成功通过省卫生计生系统评...</p>
                            </div>
                        </li>
                        <li>
                            <img src="img/slideBg.jpg" alt=""/>
                            <div class="slideText">
                                <div class="time"><i class="iconfont icon-shijian"></i>2017-04-01 13:20</div>
                                <h4 class="hidden">超声诊断科青年文明号在2016-2017</h4>
                                <p>2016-2017年度广东省直属机关青年文明号评选及复核工作于今年10月启动，经过现场考核、查阅台账及汇报答辩，超声诊断科成功通过省卫生计生系统评...</p>
                            </div>
                        </li>
                    </ul>
                    <!--more-->
                    <a href="#" class="more">查看更多</a>
                </div>
            </div>

        </section>
        <!-------------医院团队----------------->
        <section class="swiper-slide swiper-slide4">
            <div class="teamBox">
                <ul>
                    <li class="ani resize clearfix show" swiper-animate-effect="rotateInDownLeft"
                        swiper-animate-duration="1s" swiper-animate-delay="0s">
                        <div class="teamText fl">
                            <p>D</p>
                            <p>o</p>
                            <p>c</p>
                            <p>t</p>
                            <p>o</p>
                            <p>r</p>
                            <p>s</p>
                            <p class="mt-27">R</p>
                            <p>e</p>
                            <p>s</p>
                            <p>u</p>
                            <p>m</p>
                            <p>e</p>
                        </div>
                        <div class="teamDetail fr">
                            <img src="img/teamBg.jpg" alt=""/>
                            <div class="detail clearfix">
                                <h4>张建宁</h4>
                                <span></span>
                                <p>妇产科&ensp;&ensp;主治医师</p>
                                <p>
                                    中共党员，1961年8月出生。教授，博士，博士生导师。现任天津医科大学总医院院长，神经外科主任，天津市神经病学研究所所长，加拿大蒙特利尔神经病学研究所高级顾问，并是神经外科学科带头人</p>
                            </div>
                        </div>
                    </li>
                    <li class="ani resize clearfix" swiper-animate-effect="rotateInDownRight"
                        swiper-animate-duration="1s" swiper-animate-delay="0s">
                        <div class="teamDetail fl">
                            <img src="img/teamBg.jpg" alt=""/>
                            <div class="detail clearfix">
                                <h4>张建宁</h4>
                                <span></span>
                                <p>妇产科&ensp;&ensp;主治医师</p>
                                <p>
                                    中共党员，1961年8月出生。教授，博士，博士生导师。现任天津医科大学总医院院长，神经外科主任，天津市神经病学研究所所长，加拿大蒙特利尔神经病学研究所高级顾问，并是神经外科学科带头人</p>
                            </div>
                        </div>
                        <div class="teamText fr">
                            <p>D</p>
                            <p>o</p>
                            <p>c</p>
                            <p>t</p>
                            <p>o</p>
                            <p>r</p>
                            <p>s</p>
                            <p class="mt-27">R</p>
                            <p>e</p>
                            <p>s</p>
                            <p>u</p>
                            <p>m</p>
                            <p>e</p>
                        </div>
                    </li>
                </ul>
                <!--more-->
                <a href="#" class="ani resize more mt-60" swiper-animate-effect="zoomIn" swiper-animate-duration="1s"
                   swiper-animate-delay="0s">查看更多</a>
            </div>
        </section>
        <!-------------医院地址----------------->
        <section class="swiper-slide swiper-slide5">
            <div class="ani resize w-640 addressBox" swiper-animate-effect="zoomIn" swiper-animate-duration="1s"
                 swiper-animate-delay="0s">
                <img src="img/mapTu.png" alt=""/>
                <div>
                    <h4>惠东县妇幼保健医院</h4>
                    <p class="hidden">江苏省南京市玄武区惠东路128号</p>
                    <p class="hidden">025-12345678 025-12345678 </p>
                    <title>首页</title>
                    <a href='http://api.map.baidu.com/geocoder?address=惠东县妇幼保健医院&output=html' target='_blank' class="pink">点击查看地图</a>
                </div>
            </div>
        </section>
    </div>

    <div id="array" class="resize">
        <i class="iconfont icon-icon--"></i>滑动进入下一页
    </div>

</div>


<script src="js/swiper.min.js"></script>
<script src="js/swiper.animate.min.js"></script>
<script src="js/layer.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script>
    scaleW = window.innerWidth / 320;
    scaleH = window.innerHeight / 480;
    var resizes = document.querySelectorAll('.resize');
    for (var j = 0; j < resizes.length; j++) {
        resizes[j].style.width = parseInt(resizes[j].style.width) * scaleW + 'px';
        resizes[j].style.height = parseInt(resizes[j].style.height) * scaleH + 'px';
        resizes[j].style.top = parseInt(resizes[j].style.top) * scaleH + 'px';
        resizes[j].style.left = parseInt(resizes[j].style.left) * scaleW + 'px';
    }

    var mySwiper = new Swiper('#swiper', {
        direction: 'vertical',
        pagination: '.swiper-pagination',
        //virtualTranslate : true,
        mousewheelControl: true,
        onInit: function (swiper) {
            swiperAnimateCache(swiper);
            swiperAnimate(swiper);
        },
        onSlideChangeEnd: function (swiper) {
            swiperAnimate(swiper);
        },
        onTransitionEnd: function (swiper) {
            swiperAnimate(swiper);
        },


        watchSlidesProgress: true,

        onProgress: function (swiper) {
            for (var i = 0; i < swiper.slides.length; i++) {
                var slide = swiper.slides[i];
                var progress = slide.progress;
                var translate = progress * swiper.height / 4;
                scale = 1 - Math.min(Math.abs(progress * 0.5), 1);
                var opacity = 1 - Math.min(Math.abs(progress / 2), 0.5);
                slide.style.opacity = opacity;
                es = slide.style;
                es.webkitTransform = es.MsTransform = es.msTransform = es.MozTransform = es.OTransform = es.transform = 'translate3d(0,' + translate + 'px,-' + translate + 'px) scaleY(' + scale + ')';

            }
        },

        onSetTransition: function (swiper, speed) {
            for (var i = 0; i < swiper.slides.length; i++) {
                es = swiper.slides[i].style;
                es.webkitTransitionDuration = es.MsTransitionDuration = es.msTransitionDuration = es.MozTransitionDuration = es.OTransitionDuration = es.transitionDuration = speed + 'ms';

            }
        }
    });
    //通知公告
    var mySwiper = new Swiper('#noticeText', {
        direction: 'vertical',
        loop: true,
        autoplay: 4000,
        autoplayDisableOnInteraction: false,
        pagination: '#adv .swiper-pagination' // 如果需要分页器
    });
    //视频播放
    var video = document.getElementById("video");
    function playPause() {
        if (video.paused) {
            video.play();
            $(".videoPoster").fadeOut();
            $(".videoBtn").fadeOut();
            $(".videoText").fadeOut();
        } else {
            video.pause();
            $(".videoPoster").fadeIn();
            $(".videoBtn").fadeIn();
            $(".videoText").fadeIn();
        }
    }
    video.addEventListener('ended', function () {
        $(".videoPoster").fadeIn();
        $(".videoBtn").fadeIn();
        $(".videoText").fadeIn();
    }, false);
    //医院团队
    $(".teamBox li").eq(0).find(".detail").fadeIn();
    $(".teamBox").on("click", "li", function () {
        if ($(this).hasClass("show")) {
            $(this).find(".detail").fadeOut();
            $(this).siblings().find(".detail").fadeIn();
            $(this).removeClass("show").siblings().addClass("show");
        } else {
            $(this).find(".detail").fadeIn();
            $(this).siblings().find(".detail").fadeOut();
            $(this).addClass("show").siblings().removeClass("show");
        }
    });
    //弹窗
    $(function () {
        $(".indexBox").on("click", "li", function () {
            $("#array").hide();
            layer.open({
                content: '<div class="popupContent"><i class="iconfont icon-jiuzhenliucheng"></i><h4>就诊流程</h4><p>预约挂号：拨打114/116114电话预约 北京市内工行、中行、建行、交行网点或工行、交行网银预约院内自助挂号机预约</p></div>'
            })
        });
        //关闭弹窗显示下拉提示
        $(document).on("click", ".layui-m-layershade", function () {
            $("#array").show();
        })
    });
</script>
</body>
</html>